package com.gitee.cashzhang27.test.cloud.oauth.auth.server.extended.comstants.enums;


/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/01/28 21:48
 */
public enum SecurityCodeEnums {
  /**
   * 用户名为空
   */
  USERNAME_EMPTY(10000001, "loginName empty !");
  /**
   * 状态码
   */
  private final Integer code;
  /**
   * 描述
   */
  private final String msg;

  SecurityCodeEnums(final Integer code, final String msg) {
    this.code = code;
    this.msg = msg;
  }

  public Integer getCode() {
    return code;
  }

  public String getMsg() {
    return msg;
  }
}

